<template>
    <Header></Header>
    <monitorDialog></monitorDialog>
    <AlertDialog></AlertDialog>
    <!-- <IframeBox v-if="route.name !== 'home'" /> -->

    <RouterView></RouterView>
</template>

<script setup lang="ts">
import emits from '@/utils/emits';
import { onMounted } from 'vue'
import { RouterView } from 'vue-router';
// 订阅告警事件
onMounted(() => {
    // 传入告警信息参数
    emits.on('ALERT_MESSAGE', res => {
     
    });
})
</script>

<style scoped lang="scss"></style>